package com.qxzn.app.bean;

import java.util.List;

public class FaceDetectionBean {
    /**
     * face_num : 1
     * face_list : [{"face_token":"d902eac67ead360d3016091a77aae34b","location":{"left":3323.9,"top":2172,"width":110,"height":135,"rotation":-8},"face_probability":0.87,"angle":{"yaw":87.05,"pitch":9.31,"roll":-22.84}}]
     */

    private int face_num;
    private List<FaceListBean> face_list;

    public int getFace_num() {
        return face_num;
    }

    public void setFace_num(int face_num) {
        this.face_num = face_num;
    }

    public List<FaceListBean> getFace_list() {
        return face_list;
    }

    public void setFace_list(List<FaceListBean> face_list) {
        this.face_list = face_list;
    }

    public static class FaceListBean {
        /**
         * face_token : d902eac67ead360d3016091a77aae34b
         * location : {"left":3323.9,"top":2172,"width":110,"height":135,"rotation":-8}
         * face_probability : 0.87
         * angle : {"yaw":87.05,"pitch":9.31,"roll":-22.84}
         */

        private String face_token;
        private LocationBean location;
        private double face_probability;
        private AngleBean angle;

        public String getFace_token() {
            return face_token;
        }

        public void setFace_token(String face_token) {
            this.face_token = face_token;
        }

        public LocationBean getLocation() {
            return location;
        }

        public void setLocation(LocationBean location) {
            this.location = location;
        }

        public double getFace_probability() {
            return face_probability;
        }

        public void setFace_probability(double face_probability) {
            this.face_probability = face_probability;
        }

        public AngleBean getAngle() {
            return angle;
        }

        public void setAngle(AngleBean angle) {
            this.angle = angle;
        }

        public static class LocationBean {
            /**
             * left : 3323.9
             * top : 2172
             * width : 110
             * height : 135
             * rotation : -8
             */

            private double left;
            private double top;
            private double width;
            private double height;
            private double rotation;

            public double getLeft() {
                return left;
            }

            public void setLeft(double left) {
                this.left = left;
            }

            public double getTop() {
                return top;
            }

            public void setTop(double top) {
                this.top = top;
            }

            public double getWidth() {
                return width;
            }

            public void setWidth(double width) {
                this.width = width;
            }

            public double getHeight() {
                return height;
            }

            public void setHeight(double height) {
                this.height = height;
            }

            public double getRotation() {
                return rotation;
            }

            public void setRotation(double rotation) {
                this.rotation = rotation;
            }
        }

        public static class AngleBean {
            /**
             * yaw : 87.05
             * pitch : 9.31
             * roll : -22.84
             */

            private double yaw;
            private double pitch;
            private double roll;

            public double getYaw() {
                return yaw;
            }

            public void setYaw(double yaw) {
                this.yaw = yaw;
            }

            public double getPitch() {
                return pitch;
            }

            public void setPitch(double pitch) {
                this.pitch = pitch;
            }

            public double getRoll() {
                return roll;
            }

            public void setRoll(double roll) {
                this.roll = roll;
            }
        }
    }
}
